class CreatePropertyEnumerables < ActiveRecord::Migration
  def change
    create_table :property_enumerables, :force => true do |t|
      t.references :enumerable, :null => false
      t.string     :enumerable_type, :limit => 50, :null => false
      t.references :property_enum_group, :null => false
    end

    add_index :property_enumerables, :property_enum_group_id
  end
end
